time: 2021.3
# -*- coding: utf-8 -*-
# @Time    : 2021/3/22 9:55
# @Author  : luogan
# @Email   : 468640092@qq.com
# @File    : 2021.3.21罗干作业--打印数字.py
# @Software: PyCharm.

sum = 0
for i in range(1,51):
    sum+=i
print(sum)